Prizm Content Connect
How to Customize the Flash Viewer

Prizm Content Connect Plus is fully customizable. Your custom code simply needs to appear as 'FlashVars' param variables so that it can be passed to the Flash file at run time.

There are several ways to embed Flash into a web page. Here are some examples:

The following is an example with code showing SWF Objects.


Copy Code

<script src="swfobject.2.2.js" language="javascript"></script>
<script type="text/javascript">
var params = {
wmode: 'opaque',
scale: 'noscale',
allowFullScreen: true,
allowScriptAccess: 'always',
bgcolor: '#ffffff'
};
var attributes = {
id: 'ViewerEnterprise ',
name: ' ViewerEnterprise '
};
var flashvars = {
documentname: '<%=document %>',
saveDocumentLocation: 'savedocument.aspx'
};
swfobject.embedSWF("ViewerEnterprise.swf?<%=Now & Rnd() %>", "documentviewer", "620", "800", "10.0.0", false, flashvars, params, attributes);
</script>
<noscript>
Javascript needs to be enabled to view the document in viewer.
</noscript>
<div id="documentviewer"></div>

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback